package org.jeecg.modules.building.service.impl;

import org.jeecg.common.api.vo.Result;
import org.jeecg.modules.building.entity.FacBuilding;
import org.jeecg.modules.building.mapper.FacBuildingMapper;
import org.jeecg.modules.building.service.IFacBuildingService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;

/**
 * @Description: fac_building
 * @author: baochangrong
 * @Date:   2022-02-10
 * @Version: V1.0
 */
@Service
public class FacBuildingServiceImpl extends ServiceImpl<FacBuildingMapper, FacBuilding> implements IFacBuildingService {

    @Autowired
    FacBuildingMapper facBuildingMapper;

    /**
     * 查询全部建筑（场地）
     * 不分页
     * queryListAll
     */
    @Override
    public List<FacBuilding> queryListAll(String tenantId) {
        //查询该学校的建筑（场地数据列表）
        List<FacBuilding> FacBuildingList = facBuildingMapper.queryListAll(tenantId);
        return FacBuildingList;
    }

}
